<!DOCTYPE html>
<html>
	<head>
		<meta charset="<?php echo $cfg_soft_lang; ?>">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>密码帮手-找回密码第二步</title>
		<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/jquery.min.js"></script>
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css">
	</head>
	<body>
		<?php include(DEDEMEMBER."/templets/top.htm"); ?>
		<?php include(DEDEMEMBER."/templets/header.htm"); ?>
		<main class="">
			<div class="container">
				<div class="main mb-3">
					<p>找回密码第二步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册</a></em></p>
					<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php">
						<input type="hidden" name="dopost" value="getpasswd">
						<input type="hidden" name="setp" value="2">
						<input type="hidden" name="id" value="<?php echo $id;?>">
						<div class="form-group">
							<div class="input-group">
								<input placeholder="用户名" name="userid" type="text" readonly="readonly" value="<?php echo $row['membername']?>" class="form-control" id="txtUsername">
							</div>
						</div>
						<?php if(empty($key)){ ?>
						<div class="form-group">
							<div class="input-group">
								<input placeholder="临时登录密码：" name="pwdtmp" type="password" class="form-control">
							</div>
						</div>
						<?php } else { ?>
						<input name="key" type="hidden" value="<?php echo $key;?>">
						<?php } ?>
						<div class="form-group">
							<div class="input-group">
								<input placeholder="新密码" name="pwd" type="password" class="form-control">
							</div>
						</div>
						<div class="form-group">
							<div class="input-group">
								<input placeholder="确认新密码" name="pwdok" type="password" class="form-control">
							</div>
						</div>
						<button type="submit" class="btn btn-success btnLogin btn-sm">下一步</button>
					</form>
				</div>
			</div>
		</main>
		<?php include(DEDEMEMBER."/templets/footer.htm"); ?>
	</body>
</html>
</html>